package com.itheima.day02.demo2;

public class TV extends Appliance implements Socketsc{

    @Override
    public void open() {
        System.out.println("给电视插上电源。");
    }

    @Override
    public void close() {
        System.out.println("将电视的电源拔出。");
    }
    public void kan(){
        System.out.println("看电视剧");
    }

    @Override
    public void sockesc() {
        System.out.println("连接电源成功");
    }
}
